Skip to content

feat: add Phase 1 stamper scripts (add_frontmatter.py, add_comment_marker.py)#67

Merged
TMHSDigital merged 2 commits into
mainfrom
feat/add-phase1-stamper-scripts
May 24, 2026
Merged

feat: add Phase 1 stamper scripts (add_frontmatter.py, add_comment_marker.py)#67
TMHSDigital merged 2 commits into
mainfrom
feat/add-phase1-stamper-scripts

Conversation

@TMHSDigital
Copy link
Copy Markdown
Owner

Add two scripts required by cli.py --fix:

  • scripts/add_frontmatter.py <file> <version> - updates the
    standards-version: key inside a YAML frontmatter block
  • scripts/add_comment_marker.py <file> <version> - updates the
    <!-- standards-version: X.Y.Z --> HTML comment marker

Both scripts exit 0 on success, 1 if the marker is absent.

These are called by _apply_fixes_live() in the drift checker
and will also be invoked by the upcoming devtools_restampRepo
MCP tool via DEVTOOLS_META_ROOT.

…r scripts

These scripts are called by cli.py --fix to apply standards-version
updates in-place. add_frontmatter.py targets YAML-frontmatter files
(SKILL.md, .mdc), add_comment_marker.py targets HTML-comment marker
files (CLAUDE.md, AGENTS.md).

Interface: python <script> <file_path> <new_version>

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: fOuttaMyPaint <154358121+TMHSDigital@users.noreply.github.com>
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 24, 2026

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

Signed-off-by: fOuttaMyPaint <154358121+TMHSDigital@users.noreply.github.com>
@TMHSDigital TMHSDigital merged commit 6b1edb9 into main May 24, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant